<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_DIR; ?>style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_DIR; ?>gameco.css" />
<!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="<?php echo CSS_DIR; ?>ie6.css" /><![endif]-->
<title>GameCo: Login</title>
</head>
<body>
<div id="login">
<div id="content" class="box">
	<div class="logo">
		<img src="<?php echo IMG_DIR; ?>logo.png" alt="GameCo"/>
	</div>
	<fieldset>
		<legend>Login</legend>
		<?php if (isset($errors)) 
				{
					foreach ($errors as $error)
					{
		?>
		<p class="msg error"><?php echo $error;?></p>
		<?php		}
				}
		?>
		<form method="post" action="<?php echo url('admin/login');?>">
		<table class="nostyle">
			<tr>
				<td>Email:</td>
				<td><input id="login-email" type="text" class="input-text" name="email" value="<?php if (isset($email)) {echo $email;}?>"/></td>
			</tr>
			<tr>
				<td>Password:</td>
				<td><input id="login-password" type="password" class="input-text" name="password"/></td>
			</tr>
			<tr>
				<td colspan="2" class="t-right"><input type="submit" class="input-submit" value="Log in"/></td>
			</tr>
		</table>
		</form>
	</fieldset>
</div>
</div>
</body>
</html>